package home.project;

import openfl.geom.Point;
import openfl.geom.Rectangle;
import openfl.display.Graphics;

/**
 * ...
 * @author an.vuongngocduy
 */
class TestEntity
{
	private var __sprite:SpriteSheet;
	private var __physic:Physic;
	private var __aabbs:Array<Rectangle>;
	
	public function new() 
	{
		__physic = new Physic();
	}
	
	public function draw(p_g:Graphics):Void
	{
		if (__sprite != null)
		{
			__sprite.draw(p_g, Std.int(__physic.getPositionX()), Std.int(__physic.getPositionY()));
		}
	}
	
	public function update():Void
	{
		//! do nothing
	}
}